// JavaScript Document
function clock()
{
	var time = new Date();    
	var h = "", m = "", s = "";
	h = time.getHours() + 100 + "";
    m = time.getMinutes() + 100 + "";
    s = time.getSeconds() + 100 + "";
    document.getElementById("digit").innerHTML = h.substr(1) + ':' + m.substr(1) + ':' + s.substr(1);
}